package org.ace.logic;

import io.netty.channel.Channel;

import org.ace.endingCode.SocketModel;

public interface IoHandler {
	
	/**
	 * 消息到达
	 * */
	@SuppressWarnings("rawtypes")
	public void messageReceived(Channel channel,SocketModel message);
	
	/**
	 * 连接关闭
	 * */
	public void channelClose(Channel channel);
	
	/**
	 * 握手成功
	 * */
	public void onShake(Channel channel);
}
